projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
606d8ff
)
Fix compiler warning building net/shr.el without xwidget support
author
Po Lu
<luangruo@yahoo.com>
Tue, 9 Nov 2021 07:27:23 +0000
(08:27 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Tue, 9 Nov 2021 07:27:23 +0000
(08:27 +0100)
* lisp/net/shr.el (xwidget-webkit-execute-script): New function
declaration (bug#51705).
lisp/net/shr.el
patch
|
blob
|
history
diff --git
a/lisp/net/shr.el
b/lisp/net/shr.el
index 19d2d8a8e6ba810bc552bfd21aa525d9123ede02..9b00ff6aa30aa71df53e5da71560a282588cacc6 100644
(file)
--- a/
lisp/net/shr.el
+++ b/
lisp/net/shr.el
@@
-1670,6
+1670,9
@@
The preference is a float determined from `shr-prefer-media-type'."
pref (cdr ret)))))))))
(cons url pref))
+(declare-function xwidget-webkit-execute-script "xwidget.c"
+ (xwidget script &optional callback))
+
(defun shr-tag-video (dom)
(let ((image (dom-attr dom 'poster))
(url (dom-attr dom 'src))